package com.atguigu.gulimall.gulimallorder.feign;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.gulimallorder.vo.WareSkuLockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/11/28 0028 19:32
 * Note:
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @GetMapping("/gulimallproduct/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@RequestParam("id") Long skuId);

    @RequestMapping("/gulimallproduct/brand/info/{brandId}")
    R getBrandInfoByBrandId(@PathVariable("brandId") Long brandId);
}
